package com.example.bankend.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * @author luolinila
 * @date 2025/6/23 11:29
 */
@Data
public class UpdatePass {
    @JsonProperty("cardID")
    private String cardID;
    @JsonProperty("lastPass")
    private String lastPass;
    @JsonProperty("newPass")
    private String newPass;

    public boolean isTrue() {
        return  cardID != null
                && lastPass != null
                && newPass != null;
    }
}
